package com.zhihaihe.file.util;

import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;

public class UFOPUtils {
    /**
     * 路径解码
     * @param url url
     * @return
     */
    public static String urlDecode(String url){
        String decodeUrl = null;
        try {
            decodeUrl = URLDecoder.decode(url, "utf-8");
        } catch (UnsupportedEncodingException e) {
            e.printStackTrace();
        }
        return  decodeUrl;
    }

}
